<?php

class Dashboard extends Controller {

	function __construct()
	{
		parent::Controller();	
		$this->auth->check();
		if(!$this->auth->check('level',4)) 
		{
		 	show_auth_error('admin/users - dont have access');
		}
	}
	
	function index()
	{
		//$this->load->view('welcome_message');
		$data['title'] = 'hello me';
		$test = $this->config->item('lf_version');
		$data['body'] = 'admin sec'.$test; 
		$this->oryx->render('single_page',$data);
	}
	
	function test()
	{
		//$this->load->view('welcome_message');
		$data['title'] = 'hello me'; 
		$data['body'] = 'admin test'; 
		$this->oryx->render('single_page',$data);
	}
}